package com.senmo.request;

/**
 * author: lx
 * date: 16-1-5
 */
public final class Api {

    public static final String HOST = "http://123.56.73.35:29000/SenMo/";


    // ============================================
    // user


    public static final String LOGIN = HOST + "user_login.action";

    public static final String REGISTER = HOST + "user_register.action";

    public static final String GET_DEVICE_LIST = HOST + "fetch_video_devices.action";

    public static final String GET_CHANNEL_LIST = HOST + "fetch_video_device_channels.action";

    public static final String BIND_DEVICE = HOST + "bind_video_device.action";

    public static final String UNBIND_DEVICE = HOST + "unbind_video_device.action";


    // ============================================
    // manage device


    public static final String GET_DEVICE_SHARED_USERS = HOST + "manage_video_device_fetch_shared_users.action";

    public static final String SET_DEVICE_SHARE = HOST + "manage_video_device_set_weather_share.action";

    public static final String GET_DEVICE_SHARE = HOST + "manage_video_device_fetch_weather_share.action";

    public static final String SET_DEVICE_SHARE_TIME = HOST + "manage_video_device_set_share_timeinterval.action";

    public static final String GET_DEVICE_SHARE_TIME = HOST + "manage_video_device_fetch_share_timeinterval.action";

    public static final String SHARE_DEVICE = HOST + "manage_video_device_share_user.action";

    public static final String UN_SHARE_DEVICE = HOST + "manage_video_device_unshare_user.action";

    public static final String ACCEPT_SHARE_REQUEST = HOST + "manage_video_device_accept_share_request.action";

    public static final String GET_SHARE_REQUEST_MESSAGES = HOST + "manage_video_device_fetch_request_share_messages.action";

    public static final String TRANSFER_DEVICE_AUTH = HOST + "manage_video_device_transfer_manage_privilege.action";


    // ============================================
    // access device


    public static final String REQUEST_SHARED_DEVICE = HOST + "normal_video_device_request_share.action";

    public static final String REQUEST_ACCESS_DEVICE = HOST + "normal_video_device_request_look_video.action";

    public static final String ACCEPT_SHARED_DEVICE = HOST + "normal_video_device_accept_share.action";


}
